﻿using Games.Common;
using Games.Data;

namespace Games.ChallengeMemory
{
    class ChallengeMemoryRecord : GameRecords
    {
        public int Size { get; set; }
        public int TCount { get; set; }
        public int Frame { get; set; }

        public override Record Convert()
        {
            return new Record
            {
                Message = $"{Size}*{Size}->{TCount} - 完成 {Frame} 帧\r\n用时 {Utils.FormatTime((int)Duration)}",
                TimeString = CreateTime.ToString("yyyy-MM-dd HH:mm")
            };
        }
    }
}
